System and method for fixture form-closure determination for part manufacturing with the aid of a digital computer

ABSTRACT

Automated fixture layout is approached in two distinct stages. First, the spatial locations of clamping points on the work piece are determined to ensure immobility of the fixtured part under any infinitesimal perturbation. Second, spatial locations are matched against a user-specified library of reconfigurable clamps to synthesize a valid fixture layout or configuration that includes clamps that are accessible and collision free. The spatial locations matching during the second stage can be the same spatial locations chosen in the first stage to ensure immobility, or a different set of spatial locations.

CROSS-REFERENCE TO RELATED APPLICATION

This non-provisional patent application is a continuation of U.S. patent application Ser. No. 15/431,691, filed Feb. 13, 2017, pending, which is a continuation of U.S. Pat. No. 9,566,679, issued Feb. 14, 2017, the disclosures of which is incorporated by reference.

This invention was made with government support under Contract No. G016.3753.01 ISL-Govt-SLIN 0001 Base P awarded by the Defense Advanced Research Projects Agency. The government has certain rights in the invention.

FIELD

This application relates in general to manufacturing parts layout and fixturing, and in particular, to a system and method for fixture form-closure determination for part manufacturing with the aid of a digital computer.

BACKGROUND

The machining of a part from raw stock or material, such as metal, is a form of subtractive manufacturing during which the raw material is progressively removed until the part reaches an intended shape and size. Operations during machining primarily involve turning, drilling and milling the raw material into the desired part, which respectively require removing the raw material by rotating the raw material against a stationary cutting tool, axially boring holes using a rotating bit with a cutting edge on a distal end whilst the raw material is held stationary, and cutting away the raw material using a rotating bit with cutting edges generally along the rotating bit's sides and distal end. Both drilling and milling involve traversing a rotating bit along a longitudinal axis in the Z-direction. Milling, which operates in three-dimensional space, also involves moving the rotating bit along a plane in X- and Y-directions. Other kinds of machining operations and tools also exist. The machining will generally reduce the raw material into rough form within a specified tolerance; further manufacturing processes may be required to smooth, polish, finish, or otherwise transform the part into final form; to check the, such as through inspection or testing; or to assemble a final product.

During manufacture, a part must be immovably mounted using fixtures in suitable configurations that both ensure placement of the part in a known and expected orientation and enable meeting specified manufacturing tolerances. A fixture is a work-holding device that is used to locate and clamp a part's surface to support manufacturing operations, such as machining, inspection and assembly. Typical parts manufacturing requires planning several different fixture layouts or configurations to effectively immobilize the part under manufacture while operated on in various orientations throughout a sequence of manufacturing steps.

The emergence of flexible manufacturing systems has necessitated the design and use of fixtures that have in-built flexibility to rapidly respond to part design changes. These fixtures, known as modular fixtures, represent the most widely-used class of flexible fixtures and are adaptable to a large class of parts. While the design and fabrication of fixtures may reach 20% of the total manufacturing cost, the use of flexible or reconfigurable fixtures can reduce fixture costs by as much as 80%. Modular fixtures are often used for moderate or small manufacturing lot sizes, especially when the cost of dedicated fixtures and the time required to produce the fixtures may be difficult to justify.

Complex work pieces can be located during manufacturing using modular fixtures produced quickly from standard components, and the modular fixtures can later be disassembled for reuse in other parts manufacturing. FIG. 1 is a diagram showing, by way of example, a prior art set of components of a modular fixture 10. Modular fixtures are typically supported on base plates 14 with grid holes or attachment points 15 upon which fixture elements 11, which can include clamps, risers or other components, possibly in combination, are constructed. A fixture element 11 may have a face 12 which will be in contact with a contact location on the part and a mounting feature 12 in contact with an attachment point 15 on the base plate 14. Other fixture element features are possible. Often, details specific to an individual component used in assembling a modular fixture is specialized to a particular purpose and can be unique for each type of component. Increasingly, manufacturers of modular fixture components have listed available components in libraries or catalogs to facilitate manufacturability analysis. For instance, fixture catalogs available online, such as Fixtureworks (www.fixtureworks.net), operated by Fixtureworks, LLC, Fraser, Mich., and Carr Lane (www.carrlane.com), operated by Carr Lane Manufacturing Co., St. Louis, Mo., have devised fixture ontologies for efficiently searching through modular fixture component details in a user-driven query and filter format. In addition, D. Vukelic et al., “A Rule-Based System for Fixture Design,” Sci. Research and Essays, Vol. 6(27), pp. 5787-5802 (2011), the disclosure of which is incorporated by reference, describes a representation for fixture catalogs that applies case-based reasoning methods to fixture planning, and is designed to be compatible with generic geometric reasoning-based algorithms for fixture selection and shop-specific reasoning.

Notwithstanding such searchable component libraries, key challenges remain. One challenge is in determining where on a part under manufacture to contact clamps, such that contact locations are both reachable by the clamps throughout the machining process, yet situated so as to not cause the clamps to interfere with the access paths of tools operating on or around the part. A related challenge is in synthesizing configurations of fixtures that may be used to effectively clamp a specific work piece in place without the clamps overlapping with each other, as well as ideally minimizing the types of clamps needed and the swapping out of different clamp types during a sequence of manufacturing steps.

Fixture configuration and planning continues to be an experience-driven and primarily manual activity, and automated solutions to fixture synthesis do not scale well in accommodating variations in work piece geometry. Fixture configuration and planning focuses on determining precise location and clamping of work pieces according to a part's design and process requirements. Process constraints non-exclusively include collision avoidance with surrounding tooling and expected tool paths, accessibility analysis, deformation considerations, material properties, available fixture elements, and manufacturing tolerances. Conventional approaches for computer-assisted fixture planning, such as described in X. Kang et al., “Recent Research on Computer-Aided Fixture Planning,” Recent Patents on Mechanical Engr., Vol. 2, pp. 8-18 (2009); and K. Lakshminarayana, Mechanics of Form Closure, Springer-Verlag (1978), the disclosures of which are incorporated by reference, address other types of process constraints, and fail to adequately remedy the problem of contact location selection and manufacturing parts fixturing with components from a vendor-supplied catalog.

Therefore, a need remains for an approach to rapidly synthesizing a realistic fixture configuration, including spatial location of clamps or other fixture elements in contact with a work part that will substantially guarantee stability and immobility of a specified work part.

A further need remains for an approach to matching suitable fixtures selected from a fixture components library that ensures effective fixturing and preferably facilitates efficient performance of sequence steps during execution of manufacturing processes.

SUMMARY

Automated fixture layout is approached in two distinct stages. First, the spatial locations of clamping points on the work piece are determined to ensure immobility of the fixtured part under any infinitesimal perturbation. Second, spatial locations are matched against a user-specified library of reconfigurable clamps to synthesize a valid fixture layout or configuration that includes clamps that are accessible and collision free. The spatial locations matching during the second stage can be the same spatial locations chosen in the first stage to ensure immobility, or a different set of spatial locations.

In one embodiment, a system and method for fixture form-closure determination for part manufacturing with the aid of a digital computer are provided. A part model and a constraint volume for a part to be manufactured are retrieved, the part model and the constraint volume including geometric representations of the part respectively defining the boundary of the part and a region defined about the boundary of the part. Locations on the boundary of the part against which to contact a plurality of fixture elements that are affixed to a base plate are identified. Candidate fixturable locations within a wrench coordinate system and corresponding to the identified locations on the boundary of the part, each candidate fixturable location including both a position and a unit inward surface normal relative to an origin of the wrench coordinate system. A point contact force is assigned along the unit inward surface normal from the position of each candidate fixturable location. An applied force is mapped along each of the point contact forces to a wrench, each wrench including the applied force and a cross product of the applied force with the position of the point contact force. Each of the wrenches are mapped to a bin, each bin including a point space. Each of the wrenches is sorted by the bin to which the wrench is mapped and the furthest points in the point space in each bin as extreme points. A wrench matrix is constructed that includes vector columns corresponding to the extreme points retained in the bins of a plurality of the wrenches. A plurality of the extreme points from the bins exclusive of the wrench matrix are combined as a potential configuration that includes the candidate fixturable locations included in the positions of the point contact forces mapped to the wrenches included in the combination of the extreme points. Containment of the origin is tested within a convex hull implicitly-defined from the combination of the extreme points by solving for linear independence of the vector columns included in the wrench matrix, and the form closure of the potential configuration is established upon implicit inclusion of the origin within the convex hull. The established form closure is used to synthesize a fixture layout for the part.

Still other embodiments of the present invention will become readily apparent to those skilled in the art from the following detailed description, wherein is described embodiments of the invention by way of illustrating the best mode contemplated for carrying out the invention. As will be realized, the invention is capable of other and different embodiments and its several details are capable of modifications in various obvious respects, all without departing from the spirit and the scope of the present invention. Accordingly, the drawings and detailed description are to be regarded as illustrative in nature and not as restrictive.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing, by way of example, a prior art set of components of a modular fixture.

FIG. 2 is a functional block diagram showing a computer-implemented system for determining spatial locations of fixture element fixturing points on a part to be manufactured in accordance with one embodiment.

FIGS. 3-5 are diagrams showing, by way of example, three different fixture layouts generated using the system of FIG. 2.

FIG. 6 is a flow diagram showing a computer-implemented method for determining spatial locations of fixture element fixturing points on a part to be manufactured in accordance with one embodiment.

FIG. 7 is a block diagram showing, by way of example, a candidate fixture layout in which a possible tool collision can occur.

FIG. 8 is a flow diagram showing a function for identifying a fixturable region for use in the method of FIG. 6.

FIG. 9 is a flow diagram showing a function for evaluating reachable locations for use in the function of FIG. 7.

FIG. 10 is a flow diagram showing a function for computing form closure for use in the method of FIG. 6.

FIG. 11 is a diagram showing, by way of example, a clamp solution for frictional form closure mimicking a vise configuration.

FIG. 12 is a diagram showing, by way of example, a side clamp solution used when surfaces perpendicular to the machined volume are available for fixturing.

FIG. 13 is a diagram showing, by way of example, how strap clamps are used when surfaces along the tool approach direction are available with sufficient clearance.

FIG. 14 is a flow diagram showing a function for locating clamping points against a catalog of fixtures for use in the method of FIG. 6.

DETAILED DESCRIPTION

Computer-implemented geometrical methods for fixture planning and configuration are utilized to reason about the shape of a part to be manufactured and to check interference and collision constraints. The methods provide a set of accessible locations guaranteeing part immobility. FIG. 2 is a functional block diagram showing a computer-implemented system 20 for determining spatial locations of fixture element fixturing points on a part to be manufactured in accordance with one embodiment. The geometrical methods primarily focus on determining the location of fixture points, rather than accomplishing related analyses concerning deformation, tolerance, and so on.

In one embodiment, a Web-based service 23 provides detailed feedback on configurations of spatial locations of contact points on the boundary of a specified part and on fixture layouts of reconfigurable fixture elements, such as clamps. A program 21 is provided through a centralized server 22 that can be remotely accessed via the Web over a wide area public data communications network, such as the Internet, using wired or wireless connections. Users interface with the server 22 through a Web browser 28 executing on a personal computer 27 or similar device. The server 22 is operatively coupled to a storage device 24, within which is stored geometric models of designed parts 25, and a library of fixtures 26, which may be specific to a manufacturing facility. Both the server 22 and personal computer 27 include components conventionally found in general purpose programmable computing devices, such as a central processing unit, memory, input/output ports, network interfaces, and non-volatile storage, although other components are possible. In addition, other computational components are possible.

The program 21 implements a geometric engine that executes a set of spatial planning and analysis algorithms for automated spatial location determination and fixture matching. The models of parts 25 can include models for a part to be manufactured and constraint volumes for the part. Typically all locations on the boundary of a part will not be available for fixturing. In machining operations, for instance, material is removed from a larger shape, which could be raw stock or an intermediate staging model in a manufacturing process plan. As a result, one constraint in the fixturing problem is to locate the part without interfering with the tool's ability to remove the material as planned. Staging models and removal volumes can be computed for every tool orientation identified in a process plan, such as described in commonly-assigned U.S. Pat. No. 9,292,626, issued Mar. 22, 2016, the disclosure of which is incorporated by reference, and stored in the storage device 24. The part model and the constraint volume include geometric representations of the part respectively defining the boundary of the part and a region defined about the boundary of the part. The constraint volume could also represent a removal volume that includes a geometric representation of material to be removed from the part as a result of machining by a cutting or milling manufacturing tool. The library of fixtures 26 can include a catalog of fixture elements, optionally specific to a manufacturing facility, and configurable to fixture the part during manufacturing. Other parts models and fixture content are possible.

Automated spatial location determination and fixture matching is performed by the program 21 in two distinct stages that can, in a further embodiment, be collaboratively executed as a single process. In the first stage, as further described infra with reference to FIGS. 8, 9 and 10, the spatial locations of clamping points on the part to be manufactured are determined to ensure immobility of the fixtured part under any infinitesimal perturbation. Fast algorithms generate fixture locations using the theory of form closure. A six-dimensional wrench space is partitioned to rapidly generate fixture locations that are close to optimal, qualitatively distinct, and which provide guaranteed stability through form closure. The partitioning relies on an indexing scheme that identifies subspaces corresponding to unique force-moment combinations and uses properties of the indexing system to provide form closure configurations, while dramatically reducing the search space of candidate solutions. The analysis distinguishes between fixtures that mostly resist external forces, and thus correspond to intuitive designs found in practice, and fixtures that resist both forces and moments, which provide better stability.

In the second stage, as further described infra with reference to FIG. 14, spatial locations are matched against a user-specified library or catalog of reconfigurable clamps or fixture elements to synthesize a valid fixture layout or configuration that includes clamps that are accessible and collision free. The spatial locations matching during the second stage can be the same spatial locations chosen in the first stage to ensure immobility, or a different set of spatial locations. The spatial locations are connected to available clamps in the catalog and parameters for collision free clamps that are capable of reaching the given locations are generated. Collision analysis is performed for the chosen clamps until a valid and non-colliding set of clamps or fixture elements that match the spatial locations are found.

The automated spatial location determination and fixture matching methods performed by the program 21 are intended for integration into a larger automated process planning system. Thus, the program 21 provides checks to ensure that fixtures are not generated at spatial locations on the part that will interfere with tool motion during machining or other manufacturing operations, including inspection. The output of the system 20 is an automatically configured fixture layout that reflects the shop capability and guarantees part stability. FIGS. 3-5 are diagrams showing, by way of example, three different fixture layouts generated using the system 20 of FIG. 2. If no such fixture layout is possible, the part is classified by the system 20 as non-fixturable.

Conventional solutions for modular fixture synthesis are generally restricted to planar shapes that assumes that three locators and a clamp are sufficient to immobilize a shape. The assumption is valid for purely planar fixture synthesis where four fixture locations are provably necessary and sufficient to guarantee complete part immobility for two-dimensional degrees of freedom. Stability analysis to restrict planar motions relies on reasoning about a three-dimensional configuration space of forces and moments. For three dimensional motions, that is, six degrees of freedom, the problem requires stability analysis in six-dimensional space, which is computationally more challenging.

Due to the similarity between fixture planning and three-dimensional robotic grasp planning, algorithms for grasp planning are sometimes used in fixture planning to propose criteria for generating optimal stable fixtures that resist three-dimensional forces and torques. Such solutions are partial at best, even for purely geometric analysis for two reasons. First, the analysis typically stops at generating fixture locations and does not connect to a realistic modular fixture system, which is key to providing practical solutions. Furthermore, realistic solutions require post-processing of the generated locations to check for collision avoidance and repeated fixture synthesis may be necessary. Second, for the purposes of process planning, providing non-optimal, but qualitatively distinct solutions, can be more beneficial than providing a single optimized solution, which is generally more appropriate and necessary for compliant robot grasping. Fixture solutions that optimize a grasp metric may fail to pass other manufacturing process constraints, such as accessibility and collision avoidance, and the effort spent in optimizing grasping stability may not be warranted.

In three-dimensional fixture synthesis, six locators and at least one clamp are required for a grasp or fixture in the absence of friction. Candidate locations are chosen by sampling the surface of the part to be fixtured, which immediately creates a combinatorial problem; for n candidate locations, there are

$\begin{pmatrix} n \\ 7 \end{pmatrix}\quad$

combinations of fixture locations and, therefore, exhaustive searches quickly become impracticable, which suggests the need to formulate fixture planning and synthesis as a constrained optimization problem. Where friction is present, three locators and at least one clamp are required for a grasp or fixture. Candidate locations are again chosen by sampling the surface of the part to be fixtured, which creates a similar combinatorial problem; for n candidate locations, there are

$\begin{pmatrix} n \\ 4 \end{pmatrix}\quad$

combinations of fixture locations and the same need to formulate fixture planning and synthesis as a constrained optimization problem. The automated spatial location determination and fixture matching methods performed by the program 21 adopt a sampling strategy without optimization for the purposes of generating qualitatively distinct solution that dramatically reduces the search space, while also ensuring that the chosen configurations satisfy grasp conditions.

Automated fixture selection and layout is solved in two stages using a generate and test strategy. FIG. 6 is a flow diagram showing a computer-implemented method 30 for analyzing machined part manufacturability and performing process planning in accordance with one embodiment. As an initial step, models 25 of the part to be manufactured and a constraint volume for the part are retrieved (step 31) from the storage device 24 (shown in FIG. 2). The part model can include a staging model that provides a volumetric representation of the part following machining or other manufacturing operation, or may simply represent the part as designed. The constraint volume can include a region defined about the boundary of the part, or may represent a removal volume that includes a geometric representation of material to be removed from the part, for example, as a result of machining by a cutting or milling manufacturing tool.

During the generate stage, locating clamping points that guarantee part immobility are generated by first identifying a fixturable region (step 32), as further described infra with reference to FIGS. 8 and 9, and then computing form closure over the identified fixturable region (step 33), as further described infra with reference to FIG. 10. During the test stage, locating clamping points, which could be the same points identified during the generate stage, are verified against a library or catalog of fixtures 26 (step 34), as further described infra with reference to FIG. 14, to determine if the points are accessible and locatable without collisions by any configuration of the available clamps. FIG. 7 is a diagram showing, by way of example, a candidate fixture layout in which a possible tool collision can occur. Referring back to FIG. 6, if such a fixture configuration is found (step 35), the configuration is identified and returned as a valid fixture (step 38), optionally along with the time and cost associated with the fixture. Otherwise, form closure computation (step 33) and catalog verification (step 34) are repeated, so long as the search space of candidate fixture configurations has not been exhausted (step 36). The part is concluded as not being fixturable (step 37) once no further candidate fixture configurations can be found (step 36).

The first stage, locating clamping points, will now be discussed in detail. Spatial locations of clamping points on the part to be manufactured are intended to ensure immobility of the clamped part under the application of any external force. The theories of force and form closure provide the mathematical basis for identifying such clamping locations, which are inherent to the geometry of the part and independent of the part's spatial position and orientation. In particular, under these theories, seven points are necessary and sufficient for frictionless grasping of a polyhedral part, while only four points are needed with frictional contact. The approach used here to determine locating points relies on a partitioning of six-dimensional wrench space sampled at coordinates of candidate fixture locations. Each region within the wrench space consists of (six-dimensional) vectors that represent a unique combination of forces and moments that may be exerted on the part. This partitioning scheme facilitates rapid identification of a set of locations whose combination guarantees part immobility and hence provide form closure. In particular, form closure is guaranteed by the requirement that the convex hull of the chosen Plücker vectors contains the origin of the wrench space.

Consider a polyhedral solid grasped at n contact locations. Assume that all contacts are point contacts and that line or surface contact can be approximated by two or more point contacts. Contact between the clamps and the surface may be modeled with or without friction. In the frictionless case, the clamp only exerts a force along the inward facet surface normal at the contact location. In the presence of friction, the clamp can exert both normal and tangential forces. Exerting a force f at any contact location on the polyhedral solid also generates a moment r×f about a vector r joining the point of contact and a reference point, typically the center of mass of the polyhedral solid. Each force-moment combination is called a wrench and is represented by six-dimensional wrench coordinates (f, r×f). The center of mass can also serve as the origin of the six-dimensional wrench space, isomorphic to

⁶.

The mobility of a rigid body may be partially or completely constrained by a finite set of wrenches derived from locations on the boundary of the body. When the set of locations restrict the body to remain immobile under the application of any external wrench, the body is said to be inform closure. In the event the set of locations can only restrain a bounded set of external wrenches, the body is said to be in force closure. Five key properties of bodies in form closure are used herein:

(1) A solid admits a form closure grasp if and only if a linear combination of wrenches applied at a finite set of locations is capable of resisting arbitrary external wrenches, that is, there exists a set {w_(i)} of wrenches, such that for positive λ_(i), Σλ_(i)w_(i)=−w_(en), exists for any external wrench w_(ext). In other words, the w_(i) must constitute a positive span of

⁶. In practice, increasing or decreasing any λ_(i) to balance an external wrench corresponds to tightening or loosening the clamp at location i.

(2) A positive span of

^(n) is guaranteed by a set of vectors if and only if the convex hull of the vectors contains the origin. This property immediately establishes a test of fixturability, whereby a solid is fixturable if and only if the convex hull of all candidate wrenches contains the origin.

(3) n+1 vectors are both necessary and sufficient to positively span

^(n). Therefore, seven points are necessary and sufficient to ensure frictionless form closure. Note that this property helps explains why the λ_(i) must be strictly positive. A positive span cannot be accomplished if one or more of the seven wrenches vanishes, that is, if the corresponding λ_(i)=0, and negative λ_(i) are not permissible since they correspond to (pulling) forces applied along the outward surface normal.

(4) Defining a 6×7 wrench matrix W, whose columns are the w_(i) in the grasp, testing form closure via containment of the origin within the convex hull of the wrenches is equivalent to asserting that the nullspace of W has purely positive coefficients. When the nullspace vector v has purely positive coefficients, the nullspace vector v may be scaled by its L¹ norm to yield the vector

${u = \frac{v}{{v}_{1}}},$

which is also an element of the nullspace of W. The components of u are the λ_(i), from which can be checked that Σλ_(i)=1 implying the origin is expressed as a convex combination of the w_(i) and is therefore contained in the convex hull of the wrenches.

(5) In the case of frictional contact, tangential forces due to gravity or by external application are resisted by virtue of friction. The magnitude of the resistance is directly proportional to the coefficient of friction, and frictional forces map to wrenches. Four points can be shown as sufficient to generate seven wrenches, whose convex hull contains the origin. However, since the friction wrenches cannot be physically scaled by arbitrary λ_(i), the grasped configuration corresponds to a force closure.

During the first part of the generate stage, fixturable regions on the boundary of the part are identified. FIG. 8 is a flow diagram showing a function 40 for identifying a fixturable region for use in the method 30 of FIG. 6. Given a model of the part, which can include a staging model, and a constraint volume, which can include a removal volume, the locations on the part boundary that cannot be approached by a moving tool or a clamp are identified. These locations correspond to the surfaces exposed, for instance, after a machining process step has been completed.

To discard the exposed surfaces of the part, binary space partitioning (BSP) trees of the part (or staging) model and the constraint (or removal) volume are respectively formed (steps 41 and 42). The set of candidate fixturable locations on the boundary of the part is obtained by sampling the part boundary, for example, by considering centroids of triangles in a mesh representing the part boundary (step 43). BSP trees are optimized for ray intersection calculations and fast querying of whether a ray shot from a location on the part boundary along the triangle (location) normal will intersect the part model (step 44). If the ray indicates an intersection between the ray and the constraint volume, or between two or more rays (step 45), the triangle (location) is discarded (step 46). This computation is an abstraction for indicating whether the location on the part boundary is reachable by a clamp or fixture element without collision with a volume constrained or to be removed by a manufacturing tool. Ray shooting (step 44) and intersection testing (step 45) continues until all of the triangles (locations) have been inspected (step 47), after which the set of reachable triangles (locations) is evaluated to determine whether the clamp or fixture element will interfere with the tool (step 48), as further described infra with reference to FIG. 9. Upon completion of the evaluation (step 48), all remaining un-discarded triangles (locations) are returned as the set of candidate fixturable locations (step 48).

Collisions with the tool are also evaluated using a form of ray intersection test. FIG. 9 is a flow diagram showing a function 50 for evaluating reachable locations for use in the function 40 of FIG. 7. The tool's approaches to the part are identified (step 51), such as by evaluating the manufacturing process plan. The tool's approaches could include the directions of approach as influenced by set up. A sweep of the constraint (or removal) volume in each approach is generated (step 52) and a ray is shot from a location on the part boundary along the triangle (location) normal (step 53). If the ray indicates an intersection between the ray and the sweep (step 54), the triangle (location) is discarded (step 55). This computation is an abstraction for indicating whether a clamp or fixture element contacting the location on the part boundary would collide with a manufacturing tool. Ray shooting (step 53) and intersection testing (step 54) continues until all of the triangles (locations) have been inspected (step 56), after which all un-discarded triangles (locations) are returned as the set of candidate fixturable locations that are collision free (step 57).

During the second part of the generate stage, form closure of the part is computed. FIG. 10 is a flow diagram showing a function 60 for computing form closure for use in the method 30 of FIG. 6. Let p_(i) and n_(i) be vectors that denote the position and unit inward surface normal at sampled locations indexed by i. The center of mass serves as the origin for a global coordinate system that represents a wrench coordinate system, although other points could serve as the origin. Assuming point contact, a clamp at location i exerts a force f_(i) along n_(i). In the presence of friction, assuming a Coulomb model and a coefficient of friction μ, a non-slipping tangential force f_(ij) along a tangent direction j at location i satisfies the expression:

∥f _(ij) ∥≤∥μf _(i)∥  (1)

Therefore, the net non-slipping force acting at any point contact location is:

$\begin{matrix} {\sum\limits_{j}\left( {f_{ij} + f_{i}} \right)} & (2) \end{matrix}$

The limit points of the set of non-slipping tangent forces lie on a circle of radius ∥μf_(i)∥ and the set f_(ij)+f_(i) of resultant vectors form a cone that is called the Coulomb friction cone. For computational purposes, tangent forces are sampled at discrete orientations on a circle that, in turn, represents the friction cone as a polyhedron. When the sampled orientations constitute a set S={θ,π+θ∈S} (for example, when the angles are sampled in increments of

$\left. \frac{\pi}{360} \right),$

the tangent forces at angles θ and π+θ are equal and opposite and will sum to zero. Therefore, the maximum possible non-slipping force at any contact location is {circumflex over (f)}_(i)=Σ_(j)f_(i). Form closure calculated with this maximal frictional force will correspond to a convex hull with larger convex span than a hull obtained without considering friction, thus implying frictional form closure requires less compliant control to resist external wrenches.

Each applied force {circumflex over (f)}_(i) is mapped to a wrench by their triangle (location) defined by the Plücker coordinates w_(i)=({circumflex over (f)}_(i),p_(i)×{circumflex over (f)}_(i)) (step 61). The space of all possible wrenches is isomorphic to

⁶, which allows use of the canonical basis of Euclidean space to define orthants (generalizations of quadrants and octants corresponding to sectors in a coordinate system) or bins into which sampled Plücker coordinates are hashed. Each bin is the space formed by the intersection of six mutually-orthogonal halfspaces, yielding a total of 2⁶=64 unique bins. The hash function used to map sampled wrenches into bin indices (step 62) is a composition of three simple functions:

(1) The wrench step function v:

⁶→

⁶ obtained by applying the Heaviside step function to each component w_(k) of a wrench, such that:

v(w _(i))={Heaviside(w ₁),Heaviside(w ₂), . . . ,Heaviside(w ₆)}

(2) A concatenation of the components of v(w_(i)) into a six-bit binary string.

(3) A binary-to-decimal conversion of the constructed six-bit binary string to identify the bin into which the wrench was hashed.

Thus, by way of example, a force (1,−1,1) applied at (2,3,5) produces a wrench (1,−1,1,8,3,−5) whose step function (1,0,1,1,1,0) is mapped to the string 101110 whose decimal representation is (the bin index). Once the sampled wrenches are hashed into appropriate bins, vectors in each bin are sorted according to their L² norm and the furthest points in each bin are retained as extreme points (step 63). In a further embodiment, as described infra, the points closest to the origin are retained as the extreme points for static equilibrium.

Form closure is possible if and only if there exists a combination of seven extreme points whose convex hull contains the origin. A solution can be found by computing the convex hull of all extreme points, for example, using Qhull, such as described in C. B. Barber et al., “Qhull,” (1995) (/www.geom.umn.edu/software/ghull), operated by the University of Minnesota, Minnesota, Minn. University of Minnesota, the disclosure of which is incorporated by reference, and testing whether the origin is contained within the convex hull using an iterative method. Other origin containment tests are possible, including two heuristic tests described infra.

Note that in the worst case, there are at most 64 extreme points among all non-empty bins by virtue of the indexing scheme, and the convex hull has O(n³) time complexity. Even with this dramatic reduction of points, if the convex hull of the extreme points contains the origin, there are still

$\begin{pmatrix} 64 \\ 7 \end{pmatrix}\quad$

combinations of candidate form closure points configurations. When favoring qualitatively distinct solutions over optimal solutions, two heuristical algorithms to quickly produce qualitatively distinct form closure configurations could be used:

(1) Randomized algorithm. The randomized algorithm chooses six extreme points at random (step 64) and tests for linear independence of the corresponding vectors by constructing a wrench matrix whose columns are the vectors corresponding to the extreme points. If the wrench matrix is non-singular, then the remaining bins, that is, the bins exclusive of those bins from which the extreme points were randomly selected, which is at most 57 bins, are iteratively searched (step 65) to check whether a form closure configuration exists (step 66). Form closure of the potential configuration can be established upon implicit inclusion of the origin within the convex hull. If form closure exists (step 66), the algorithm terminates by returning the locations and the normals (step 69). Otherwise (step 66), processing (steps 63-65) and testing (step 66) continues until the search space has been exhausted (step 67). An exhausted search space (step 67) signifies that the part is not fixturable (step 68). In a further embodiment, qualitatively distinct solutions can be generated by choosing different seeds for the random number generator.

(2) Separating halfspaces algorithm. The convex hull Hull_(e) of extreme points can be asserted to have elements on either side of any hyperplane passing through the origin if the convex hull Hull_(w) of wrench points has the property of form closure. To show this property, note that every hyperplane H passing through the origin separates

⁶ into disjoint halfspaces H₊ and H⁻ defined by the hyperplane. In particular, this observation is true for every principal hyperplane x_(i)=0. If the origin is inside the hull, then (H₊∩Hull_(w))∪(H⁻∩Hull_(w)) represents a positive span of

⁶. However, neither (H₊∩Hull_(w)) nor (H⁻∩Hull_(w)) represent a positive span of

⁶, therefore points on Hull_(w) must lie on either side of H. Without losing generality, assume that (H⁻∩Hull_(e))=Ø; if true, then a situation where Hull_(w) contains the origin but Hull_(e) does not exists. In other words, there are no extreme points in H⁻ that belong to Hull_(w). However, if a point p in H⁻ is a member of Hull_(w), the bin containing p has an extreme point that is p or some other point q. Note that this situation does not imply that Hull_(e) contains the origin for which simple counter examples can be found in two dimensions.

By virtue of the bin indexing scheme, the indices corresponding to bins on H₊ and H⁻ can be generated when H is one of the six principal hyperplanes. Assuming the bin indices are numbered 0, . . . ,63, the indices 0, . . . ,31 and 32, . . . ,63 lie on either side of one of the principal hyperplanes. Five successive transformations of 2^(k)%63 for each bin k in the initial partition gives bin indices on either side of the five other principal hyperplanes. Thus, if the wrench matrix is generated using bins on one half of a separating hyperplane (halfspace) (step 65), the final form closure location can be found (step 66) among the (at most) 32 other bins on the other half of the hyperplane.

The two foregoing algorithms allow rapid generation of form closure configurations of locations on a polyhedral solid. The key insight is that the partitioning of wrench points into bins dramatically reduces the problem size to at most 64 candidate locations, which can be quickly searched to generate form closure locations. In the case of frictional form closure, picking three bins whose extreme points, along with corresponding wrenches mapped from the tangent space of frictional forces, is sufficient form a linearly independent basis. Seven point form closure algorithms may be applied to generate form closure locations.

Often, the locations produced by form closure configurations obtained by combining extreme points do not necessarily correspond to intuitive designs adopted by human designers. Extreme points have the nice property that their convex hull balances a large set of external forces and moments without tightening clamps. As opposed to picking extreme points, when picking points closest to the origin, the resulting configurations are visually more appealing to human designers. For instance, FIG. 11 is a diagram showing, by way of example, a clamp solution for frictional form closure mimicking a vise configuration. FIG. 12 is a diagram showing, by way of example, a side clamp solution used when surfaces perpendicular to the machined volume are available for fixturing. Finally, FIG. 13 is a diagram showing, by way of example, how strap clamps are used when surfaces along the tool approach direction are available with sufficient clearance. When points closest to the origin in each bin are chosen, the implied moment components of the Plücker coordinates of these points are minimal compared to all other points in the bin because, by construction, the force applied at each triangle has the same magnitude. Since moments are defined about a line of action in three-dimensional space, the least moment (a zero moment) occurs when the vector joining the action point and center of mass is along (and not just parallel to) the direction of the applied force. This occurrence implies that the closest Plücker coordinate in each bin is a pure force (or something close to a pure force).

When a form closure configuration is found for such points, the configuration corresponds to fixtures that human designers would design because they tend to solve fixturing as a static equilibrium (or force balancing) problem. By choosing the center of mass as the reference point, these “minimal moment” action points will tend to be defined on planar facets whose normals are along the vector joining their centroid with the center of mass. Such points will be visually appealing to human designers because they will be automatically located at centers of faces of the solid model.

During the test stage, fixtures are selected by locating clamping points from a library or catalog. FIG. 14 is a flow diagram showing a function for locating clamping points against a catalog of fixtures for use in the method 30 of FIG. 6. Given a set of clamping point locations on the boundary of a part (step 71), which could be the form closure clamping locations identified during the generate stage, described supra, the problem of fixture matching involves selecting candidate clamps from a given library of parts. The fixtures are assumed to be modular. In a further embodiment, the fixtures are selected to minimize the number of different fixture elements needed to satisfy clamping conditions for a sequence of process steps through which the part is to be manufactured. In a still further embodiment, the fixtures are also selected to cause minimal disruption to existing tooling, such that a minimal number of changes to fixture elements need occur between each consecutive process step.

Skipping ahead, the input set of locating points on the boundary of the part is vetted against the library of fixtures to generate parameters for clamps that are accessible in light of fixture element and constraint (or removal) volume clearances and which pass the collision tests with the part and surrounding tooling (step 76). The parameters are matched against the library to retrieve a set of clamps (step 77), if they exist and preferably closest to the edge, and assemble (and return) a clamp filter structure for a fixture configuration to guarantee stability (step 79). If there is no such solution, the algorithm is repeated until all form closure configurations of clamps in the catalog (step 78) are exhausted.

The test phase employed to fixture generation identifies fixture components that are collision free both mutually and with respect to the part. Form closure points, such as identified in the generation phase, as described supra, are translated into a set of locators, clamps, and other associated fixture element components, and assembled on the base plate. This process requires creating a representation for modeling the fixture catalog and transforming the form closure points into a filter that can be applied to the fixture catalog. Setting up the filter requires identification of fixture element type, extents of the clamp, position of the clamp or locator at the specified point, and avoiding any intersections among themselves or support elements.

The representation of the fixture element catalog and algorithm for creating the clamp filter data will now be discussed in detail. Fixture catalogs available online, such as Fixtureworks or Carr Lane, cited supra, have devised a fixture ontology for efficiently searching through modular fixture elements in a user-driven query and filter format. The catalog representation applicable herein provides information on the bounding box of the reachable workspace of the clamps, availability of components, compatibility with base fixtures, and clamping forces, which can be expressed in a JSON or other similar format.

The local neighborhood of a form closure point (or, more generally, a point on the boundary of a part) needs to be categorized to describe a collision free region around a form closure point. The local neighborhood is categorized by describing a clamp-type independent coordinate system at the form closure point. This local coordinate system is defined by basis vectors representing access direction, thickness and width. The thickness and width of individual clamps are as defined in the catalog. Ray tracing is used to determine collision free distance along the thickness and width basis vectors. Access direction clearance is determined only in the positive direction and needs to be collision free. The sum of collision free distances along each basis vector provides the upper bound for the thickness and width of the fixture element, although any of the fixture element's dimensions could be used in determining whether the element exceeds part clearance, as described supra, and to identify a fixture element that is suitable at the form closure point.

Parts are typically loaded and unloaded from the fixture in a set up direction. A part envelope is defined as the sweep of the part along the set up direction, although other geometric representations of access constraints are possible. Clamps (or fixture elements) need to be interference free with respect to the part envelope to provide collision free access. The distance that a clamp needs to translate along the access direction to avoid interference with the part envelope from its clamped position is referred to as part clearance. The calculation of this distance is accomplished by a three-step process:

(1) Trim the model of the part with a z-clipping plane defined by the form closure point (or boundary point) and the set up vector and retain the solid below the z-clipping plane (step 72).

(2) Extract an outer contour of the retained part projected onto the base plane (step 73). Extraction can be accomplished rapidly using image processing techniques, which render the part along the set up direction and edge detection.

(3) Perform ray tracing along access direction to identify clearance distance (step 74).

The computed clearance distance is used to further filter the catalog for usable clamps (or fixture elements). During the search of the catalog, a feasible base plate is first selected based on a bounding box of the part. A clamp filter used to identify feasible clamps in the catalog. The clamp filter contains the following criteria information for each form closure point (or boundary point): maximum width, maximum thickness, and part clearance. In a further embodiment, additional criteria could be applied, including availability, smallest size and lowest forces.

The selected fixture needs to be free of collisions with the tool motion. Removal (or constraint) volume is swept along the set up direction to define the tool collision avoidance region. Fixtures are then checked for interference against this region is applied by checking triangle (point) normal orientation with respect to the set up direction (step 75).

The form closure computations, as described supra, are based on the assumption that there is a point contact between clamp (or fixture element) and the part. The clamp face defined in the catalog can translate on the plane defined by the form closure point (or boundary point) and the access direction while containing the form closure point. This translation allows alignment of holes (or mounting feature) in the clamp to the holes (or attachment points) defined in the base plate.

To positioning the clamp face on the part, a homogenous transformation is computed between the part and the base fixture to align them for assembly. A plane is defined at the contact point with basis vectors X and Y defined by the hole (attachment point) configuration on the base plate. Without loss of generality, let the x-axis be the access vector of a clamp and s be the spacing of holes in the base plate. The part needs to be shifted along y-axis by an offset to align clamp with modular hole. To auto-align holes, the width of the clamp, as defined by the catalog, is greater than the spacing s and the clearance along either side of the width vector is greater than half the spacing s. Let (x,y) be the position of the form closure point projected onto the base plate. The center of the clamp face projected onto the base is aligned by an offset position expressed by:

$\begin{matrix} {{{{If}\mspace{14mu} \left( {y\mspace{14mu} {mod}\mspace{14mu} s} \right)} > \left( \frac{s}{2} \right)},} & {then} & {{offset} = {s - \left( {y\mspace{14mu} {mod}\mspace{14mu} s} \right)}} \\ \; & {{else}\;} & {{{offset} = {- \left( {y\mspace{14mu} {mod}\mspace{14mu} s} \right)}}\mspace{20mu}} \end{matrix}$

This offset is the transformation applied to the clamp face to maintain contact with the form closure point previously computed (or boundary point) and to be aligned to a hole (or attachment point) in the base plate.

Clamp assemblies can overlap, even though form closure points are separated by the specified distance. Clamp position overlap is checked by projection of the clamp outlines onto the base plane and performing interference checks in two dimensions. Once a set of collision free clamps and locators (or other fixture elements) are identified, to position the objects for visualization, the local coordinate system on the STL files of the clamp are mapped to the local coordinate system defined for form closure points.

To summarize, automatic fixture configuration through multiple setups for realistic three-dimensional parts and process planning with fixture elements from a vendor- or user-supplied catalog has not been effectively addressed. The foregoing two-stage approach solves several sub-problems attendant to this need:

-   -   Determining non-fixturable regions of the part as dictated by         process specific constraints, such as tool movement and         accessibility.     -   Determining locating points on the surface of the solid model at         fixturable locations by partitioning six-dimensional wrench         space sampled at wrench coordinates of candidate fixture         locations.     -   Providing solutions for both form closure (more stable designs)         and static equilibrium (more common designs).     -   Identifying physical clamps from a vendor- or user-supplied         catalog by performing fast collision checks that determine         parameters for usable clamps at each location on the part's         boundary.     -   Facilitating reusability of clamps in multiple formats.     -   Using the same set of clamps for a part operated on in multiple         orientations by efficiently searching the space of all possible         clamp configurations guaranteeing form closure.     -   Providing rapid reconfiguration of a static set of clamps to         accommodate multiple setups and orientations, with minimal         disruption to existing tooling.     -   Incorporating fixture synthesis, validation, and planning in         automated process planning for machining.

While the invention has been particularly shown and described as referenced to the embodiments thereof, those skilled in the art will understand that the foregoing and other changes in form and detail may be made therein without departing from the spirit and scope of the invention. 

What is claimed is:
 1. A method for fixture form-closure determination for part manufacturing with the aid of a digital computer, comprising steps of: retrieving a part model and a constraint volume for a part to be manufactured, the part model and the constraint volume comprising geometric representations of the part respectively defining the boundary of the part and a region defined about the boundary of the part; identifying locations on the boundary of the part against which to contact a plurality of fixture elements that are affixed to a base plate; defining candidate fixturable locations within a wrench coordinate system and corresponding to the identified locations on the boundary of the part, each candidate fixturable location comprising both a position and a unit inward surface normal relative to an origin of the wrench coordinate system; assigning a point contact force along the unit inward surface normal from the position of each candidate fixturable location; mapping an applied force along each of the point contact forces to a wrench, each wrench comprising the applied force and a cross product of the applied force with the position of the point contact force; mapping each of the wrenches to a bin, each bin comprising a point space; sorting each of the wrenches by the bin to which the wrench is mapped and retaining the furthest points in the point space in each bin as extreme points; constructing a wrench matrix comprising vector columns corresponding to the extreme points retained in the bins of a plurality of the wrenches; combining a plurality of the extreme points from the bins exclusive of the wrench matrix as a potential configuration that comprises the candidate fixturable locations comprised in the positions of the point contact forces mapped to the wrenches comprised in the combination of the extreme points; testing containment of the origin within a convex hull implicitly-defined from the combination of the extreme points by solving for linear independence of the vector columns comprised in the wrench matrix, and establishing the form closure of the potential configuration upon implicit inclusion of the origin within the convex hull; and using the established form closure to synthesize a fixture layout for the part, wherein the steps are performed by a suitably-programmed computer.
 2. A method according to claim 1, further comprising: selecting a center of mass of the part as the origin of the coordinate system.
 3. A method according to claim 1, further comprising: assuming an absence of friction at the unit inward surface normal comprised in each candidate fixturable location; and selecting seven extreme points from the wrench matrix, which corresponds to a number of the fixture elements and an equal number of the identified locations needed to exhibit the form closure.
 4. A method according to claim 1, further comprising: assuming a presence of friction at the unit inward surface normal comprised in each candidate fixturable location; and selecting four extreme points from the wrench matrix, which corresponds to a number of the fixture elements and an equal number of the identified locations needed to exhibit the form closure.
 5. A method according to claim 4, further comprising: modeling the presence of the friction by a fixture element at position i that exerts a force f_(i) along n_(i) using a Coulomb model and coefficient of friction μ, such that a non-slipping tangential force f_(ij) along a tangent j at the position i satisfies the expression: ∥f _(ij) ∥≤∥μf _(i)∥.
 6. A method according to claim 1, further comprising: defining each wrench by Plücker coordinates within a Euclidean space of all possible wrenches isomorphic to

⁶; defining each of the bins as a space formed by an intersection of six mutually orthogonal halfspaces; and hashing the Plücker coordinates of each wrench as the mapping of the wrench into one of the bins.
 7. A method according to claim 6, further comprising: performing the hashing of the Plücker coordinates of each wrench by applying a Heaviside step function to each of component comprised in the wrench w_(i), such that: v(w _(i))={Heaviside(w ₁),Heaviside(w ₂), . . . ,Heaviside(w ₆); concatenating the components of v(w_(i)) into a six-bit binary string; and converting the six-bit binary string into a decimal value that identifies the bin into which the Plücker coordinates of the wrench are hashed.
 8. A method according to claim 1, further comprising: selecting the plurality of the extreme points for the wrench matrix at random and testing the wrench matrix for singularity; and upon finding that the wrench matrix is non-singular, linearly checking those of the bins from which the extreme points were not randomly selected for the potential configurations.
 9. A method according to claim 1, further comprising: selecting the plurality of the extreme points for the wrench matrix using the bins on one half of a separating hyperplane within the point space; and checking those of the bins from which the extreme points were not selected for the potential configurations.
 10. A method according to claim 1, further comprising: retaining the points in the point space in each bin that are closest to the origin as the extreme points, instead of the further points in the point space.
 11. A system for fixture form-closure determination for part manufacturing with the aid of a digital computer, comprising: a computer comprising a processor and memory within which code for execution by the processor is stored, the processor configured to: retrieve a part model and a constraint volume for a part to be manufactured, the part model and the constraint volume comprising geometric representations of the part respectively defining the boundary of the part and a region defined about the boundary of the part; identify locations on the boundary of the part against which to contact a plurality of fixture elements that are affixed to a base plate; define candidate fixturable locations within a wrench coordinate system and corresponding to the identified locations on the boundary of the part, each candidate fixturable location comprising both a position and a unit inward surface normal relative to an origin of the wrench coordinate system; assign a point contact force along the unit inward surface normal from the position of each candidate fixturable location; map an applied force along each of the point contact forces to a wrench, each wrench comprising the applied force and a cross product of the applied force with the position of the point contact force; map each of the wrenches to a bin, each bin comprising a point space; sort each of the wrenches by the bin to which the wrench is mapped and retaining the furthest points in the point space in each bin as extreme points; construct a wrench matrix comprising vector columns corresponding to the extreme points retained in the bins of a plurality of the wrenches; combine a plurality of the extreme points from the bins exclusive of the wrench matrix as a potential configuration that comprises the candidate fixturable locations comprised in the positions of the point contact forces mapped to the wrenches comprised in the combination of the extreme points; test containment of the origin within a convex hull implicitly-defined from the combination of the extreme points by solving for linear independence of the vector columns comprised in the wrench matrix, and establishing the form closure of the potential configuration upon implicit inclusion of the origin within the convex hull; and use the established form closure to synthesize a fixture layout for the part.
 12. A system according to claim 11, the processor further configured to: select a center of mass of the part as the origin of the coordinate system.
 13. A system according to claim 11, the processor further configured to: assume an absence of friction at the unit inward surface normal comprised in each candidate fixturable location; and select seven extreme points from the wrench matrix, which corresponds to a number of the fixture elements and an equal number of the identified locations needed to exhibit the form closure.
 14. A system according to claim 11, the processor further configured to: assume a presence of friction at the unit inward surface normal comprised in each candidate fixturable location; and select four extreme points from the wrench matrix, which corresponds to a number of the fixture elements and an equal number of the identified locations needed to exhibit the form closure.
 15. A system according to claim 14, the processor further configured to: model the presence of the friction by a fixture element at position i that exerts a force f_(i) along n_(i) using a Coulomb model and coefficient of friction μ, such that a non-slipping tangential force f_(ij) along a tangent j at the position i satisfies the expression: ∥f _(ij) ∥≤∥μf _(i)∥.
 16. A system according to claim 11, the processor further configured to: define each wrench by Plücker coordinates within a Euclidean space of all possible wrenches isomorphic to

⁶; define each of the bins as a space formed by an intersection of six mutually orthogonal halfspaces; and hash the Plücker coordinates of each wrench as the mapping of the wrench into one of the bins.
 17. A system according to claim 16, the processor further configured to: perform the hashing of the Plücker coordinates of each wrench by applying a Heaviside step function to each of component comprised in the wrench w_(i), such that: v(w _(i))={Heaviside(w ₁),Heaviside(w ₂), . . . ,Heaviside(w ₆); concatenate the components of v(w_(i)) into a six-bit binary string; and convert the six-bit binary string into a decimal value that identifies the bin into which the Plücker coordinates of the wrench are hashed.
 18. A system according to claim 11, the processor further configured to: select the plurality of the extreme points for the wrench matrix at random and testing the wrench matrix for singularity; and upon finding that the wrench matrix is non-singular, linearly check those of the bins from which the extreme points were not randomly selected for the potential configurations.
 19. A system according to claim 11, the processor further configured to: select the plurality of the extreme points for the wrench matrix using the bins on one half of a separating hyperplane within the point space; and check those of the bins from which the extreme points were not selected for the potential configurations.
 20. A system according to claim 11, the processor further configured to: retaining the points in the point space in each bin that are closest to the origin as the extreme points, instead of the further points in the point space. 